package com.hexiaohe.springboot_vue_app.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hexiaohe.springboot_vue_app.entity.Fruit;

import java.util.List;

public interface FruitService {
    Page<Fruit> findpage(Page<Fruit> page);
    public int addFruit(Fruit fruit);
    public int updateById(Fruit fruit);
    public int deleteFruitById(int id);
    public List<Fruit>getFruitList();
}
